﻿<navigation:Page  x:Class="TotalSystems.Salary.Views.BaseInfo.Average" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d" FlowDirection="RightToLeft" 
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
          d:DesignHeight="1000" d:DesignWidth="1000"
           Title="حواله صدور کالا از انبار" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
                  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
                  xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:my="clr-namespace:TotalSystems.Core.Controls;assembly=TotalSystems.Core">

    <Grid x:Name="LayoutRoot" >
        <StackPanel >
            <Canvas Height="45">
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="12,6,0,0" Name="Btn_Add" ToolTipService.ToolTip="ایجاد" VerticalAlignment="Top" Width="35">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="48,6,0,0" Name="Btn_Edit" ToolTipService.ToolTip="ویرایش" VerticalAlignment="Top" Width="35">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="85,6,0,0" Name="Btn_Delete" ToolTipService.ToolTip="حذف" VerticalAlignment="Top" Width="35">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="122,6,0,0" Name="Btn_Help" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" Width="35">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Help.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
            </Canvas>
            <Canvas  Background="#FF0C185D" Height="80">
                <telerik:RadButton Canvas.Top="-36" Cursor="Hand" FlowDirection="LeftToRight" Height="25" Margin="268,78,0,0" Name="radButton5" Tag="PleaseCheck" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" HorizontalAlignment="Left" Width="25" Canvas.Left="-10">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_AcceptFolder.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton  Cursor="Hand" FlowDirection="LeftToRight" Height="25" HorizontalAlignment="Left" Margin="305,78,0,0" Name="radButton6" Tag="PleaseCheck" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" Width="25" Canvas.Left="-20" Canvas.Top="-36">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.PNG" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <my:LabeledText Canvas.Left="6" Canvas.Top="42" Height="25" Name="labeledText1" Width="250"  LableWidth="75" LabelText="نام عامل"/>
                <my:LabeledCombo Canvas.Left="329" Canvas.Top="42" Height="25" Name="labeledCombo1" Width="250" LableWidth="75" LabelText="کد عامل"/>
                <my:LabeledCombo Canvas.Left="7" Canvas.Top="10" Height="25" LabelText="ماه" LableWidth="75" Name="labeledCombo2" Width="250" />
            </Canvas>
            <telerik:RadGridView  Name="RGV_Currency" VerticalAlignment="Top" ShowGroupPanel="False"  AutoGenerateColumns="False" IsReadOnly="True" CanUserDeleteRows="False" >
                <telerik:RadContextMenu.ContextMenu>
                    <telerik:RadContextMenu FlowDirection="RightToLeft" Name="radContextMenu_GridView" >
                        <telerik:RadMenuItem Header="جدید"  Name="radContextMenu_GridView_Add" >
                            <telerik:RadMenuItem.Icon>
                                <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Add.png"
                             Stretch="Fill" />
                            </telerik:RadMenuItem.Icon>
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Header="ویرایش" Name="radContextMenu_GridView_Edit">
                            <telerik:RadMenuItem.Icon>
                                <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Edit.png"
                             Stretch="Fill" />
                            </telerik:RadMenuItem.Icon>
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Header="حذف" Name="radContextMenu_GridView_Delete" >
                            <telerik:RadMenuItem.Icon>
                                <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Delete.png"
                             Stretch="Fill" />
                            </telerik:RadMenuItem.Icon>
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Header="بارگزاری مجدد" Name="radContextMenu_GridView_Reload">
                            <telerik:RadMenuItem.Icon>
                                <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png"
                             Stretch="Fill" />
                            </telerik:RadMenuItem.Icon>
                        </telerik:RadMenuItem>
                    </telerik:RadContextMenu>
                </telerik:RadContextMenu.ContextMenu>
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Sd_Temp}" Header="ردیف" UniqueName="STR_Sd_Temp" Width="60"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Stuff_ID_fk}" Header="محل واقعی خدمت" UniqueName="STR_Stuff_ID_fk" Width="150"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Stuff_Name}" Header="نوع پرسنل" UniqueName="HRU_ShiftPersonnelKind_fk" Width="100"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Rs_ID}" Header="مقدار میانگین" UniqueName="SAL_Average_Amount" Width="60" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="درصد تعدیل" UniqueName="SAL_Average_Percent" Width="60"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Rs_ID}" Header="توضیحات" UniqueName="SAL_Average_Note" Width="*" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Rs_ID}" Header="وضعیت" UniqueName="SAL_Average_Active" Width="60" />
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
            <Canvas Height="24">
                <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Name="Btn_RGV_Currency_Add"  FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="اضافه کردن رکورد جدید"  Canvas.Left="0" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="73,375,0,0" Name="Btn_RGV_Currency_Delete" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="حذف کردن رکورد" Canvas.Left="-25" Canvas.Top="-375">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="98,375,0,0" Name="Btn_RGV_Currency_Reload" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="بارگزاری مجدد"  Canvas.Left="-25" Canvas.Top="-375">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="123,375,0,0" Name="Btn_RGV_Currency_Export" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="گرفتن خروجی از گرید"  Canvas.Left="-25" Canvas.Top="-375">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Save.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton  Cursor="Hand" FlowDirection="LeftToRight" Height="22" HorizontalAlignment="Left" Margin="151,375,0,0" Name="radButton11" ToolTipService.ToolTip="جزئیات رکورد" VerticalAlignment="Top" Width="22" Canvas.Left="-28" Canvas.Top="-375">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_CSV.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="22" Width="22" Name="Btn_RGV_Currency_Edit" Cursor="Hand" ToolTipService.ToolTip="ویرایش کردن رکورد" Canvas.Left="24" Canvas.Top="0">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
            </Canvas>
        </StackPanel>

    </Grid>
</navigation:Page> 
